package cn.com.cfae.iras.doc.analyze.parse.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 上市流通安排模型
 */
public class SSLTModel extends BizBaseModel {

    /**
     * 上市流通
     */
    public static final String MODEL_NAME = "SSLT";

    /**
     * 上市流通日
     */
    private final static String SSLTR = "SSLTR";



    private static Map<String, String> items = new HashMap<>();

    static {
        items.put(SSLTR, "上市流通日");

    }
    public static List<ExtractItem> createExtractItemList() {
        List<ExtractItem> extractItemList = new ArrayList<>();
        items.forEach((key, value) -> {
            ExtractItem extractItem = new ExtractItem();
            extractItem.setItemName(key);
            extractItem.setSynonyms(value.split(SYNONYM_SPLIT_CHAR));
            extractItemList.add(extractItem);
        });
        return extractItemList;
    }

}
